<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <input type="hidden" name="row[tiku_id]" value="{$tiku_id}">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('分类')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="c-parent_id" data-rule="required" class="form-control " name="row[parent_id]">
                <option value="0" selected>无</option>
                {foreach name="parentList" item="vo"}
                <option data-type="{$vo.kind}" value="{$vo.id}">{$vo.name}</option>
                {/foreach}
            </select>

            <select id="c-parent_id_t" data-rule="required" style="margin-top: 10px;" class="form-control " name="row[parent_id_t]">
                <option value="0" selected>无</option>
            </select>
            <select id="c-parent_id_tt" data-rule="required" style="margin-top: 10px;" class="form-control " name="row[parent_id_tt]">
                <option value="0" selected>无</option>
            </select>
            <!--<input id="c-parent_id" data-source="cate/index" class="form-control selectpage" name="row[parent_id]"
                   type="text" value="">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('题库名称')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control"  data-rule="required" name="row[name]" type="text" value="">
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
